<header class="bg-white margin-b-15">
    <nav class="nav-box container">
        <div class="logo">
            <img src="/static/frontend/img/logo.svg" alt="">
        </div>
        <div class="nav">
            <ul>
                {foreach $frontmenu as $k=>$v}
                <li class=""><a href="{$v.link}">{$v.title}</a></li>
                {/foreach}
            </ul>
        </div>
        <div class="search">
            <div class="type">
                <!-- 触发器 -->
                <button class="layui-btn layui-btn-primary" title="站内搜索" data-type="site">
                    <i class="icon icon-site-search"></i><i class="icon icon-down"></i>
                </button>
                <!-- 下拉框 -->
                <ul>
                    <li data-type="site" data-info="站内搜索" title="站内搜索"><i class="icon icon-site-search"></i>
                    </li>
                    <li data-type="baidu" data-info="百度一下，你就知道" title="百度一下，你就知道"><i
                            class="fa icon icon-baidu-search"></i>
                    </li>
                    <li data-type="360" data-info="360搜索" title="360搜索"><i class="fa icon icon-360-search"></i></li>
                </ul>
            </div>
            <input id="search-input" type="text" class="layui-input" name="" value="" placeholder="站内搜索">
            <button class="layui-btn layui-btn-primary">搜索</button>
        </div>
        <div class="user">
            <ul>
                <li class="nav-active" title="35条信息"><a href=""><i class="icon icon-lingdang"></i></a></li>
                <li><a class="layui-btn layui-btn-danger layui-btn-xs" href="">登陆/注册</a></li>
                <li>
                    <a href=""><img src="/static/frontend/img/favicon.svg" class="layui-nav-img">我</a>
                    <dl class="">
                        <dd class="bg-white"><a href="javascript:;">个人信息</a></dd>
                        <dd class="bg-white"><a href="javascript:;">密码修改</a></dd>
                        <dd class="bg-white"><a href="javascript:;">退出登陆</a></dd>
                    </dl>
                </li>
            </ul>
        </div>
    </nav>
</header>
